<titlemenu></titlemenu>
<div class="dj-card">
    <div class="dj-body" activate-input activate-select>
        <form role="form" name="editForm2" novalidate>
            <div panel-title data-title="'任务信息'"></div>
            <div class="dj-formtable">
                <table class="dj-table">
                    <tr>
                        <th>任务名称</th>
                        <td>
                            {{dataModel.taskname}}
                        </td>
                        <th>下达时间</th>
                        <td>
                            {{dataModel.tasktime|date:'yyyy-MM-dd'}}
                        </td>
                    </tr>
                    <tr>
                        <th>发起人</th>
                        <td>
                            {{dataModel.createusername}}
                        </td>
                        <th>截止时间</th>
                        <td>
                            {{dataModel.endtime|date:'yyyy-MM-dd'}}
                        </td>
                    </tr>
                    <tr>
                        <th>发送部门</th>
                        <td>
                            {{dataModel.senddepart}}
                        </td>
                        <th></th>
                        <td></td>
                    </tr>
                    <tr>
                        <th>任务内容</th>
                        <td colspan="5">
                            <pre ng-bind-html="dataModel.taskcontent"
                                 style="white-space: pre-wrap;margin-top: 10px;"></pre>
                        </td>
                    </tr>
                </table>
            </div>
            <!--<bsfiles ng-model="reqFileModel"/>-->
            <div class="body">
                <div class="table-responsive list-table-panel" style="overflow-x: inherit;">
                    <div class="list-table-title">
                        <div class="table-title">
                            收集信息汇总
                        </div>
                        <div class="table-tool" ng-if="isDetail">
                            <button type="button" class="btn btn-primary dropdown-toggle"
                                    ng-click="export()">
                                导出
                            </button>
                        </div>
                    </div>
                    <div class="zero-list-table-panel">
                        <div class="zero-target-table-div">
                            <table class="table table-bordered table-striped table-hover js-basic-example dataTable text-nowrap">
                                <thead>
                                <tr>
                                    <th class="text-center" style="width: 100px;">序号</th>
                                    <th>填写人姓名</th>
                                    <th>所在单位</th>
                                </tr>
                                </thead>
                                <tbody>
                                <tr ng-repeat="it in replylist" zero-table-height>
                                    <td class="text-center" scope="row">{{$index+1}}</td>
                                    <td class="text-center">{{it.XM}}</td>
                                    <td class="text-center">{{it.DZZMC}}</td>
                                </tr>
                                <tr ng-if="replylist.length<=0">
                                    <td colspan="50" style="text-align:center">暂无数据</td>
                                </tr>
                                </tbody>
                            </table>
                        </div>
                        <div class="zero-source-table-div">
                            <table class="table table-bordered table-striped table-hover js-basic-example dataTable text-nowrap">
                                <thead>
                                <tr>
                                    <th ng-repeat="it in columnList">{{it.columnname}}</th>
                                </tr>
                                </thead>
                                <tbody>
                                <tr ng-repeat="it in replylist">
                                    <td ng-repeat="cl in columnList">{{it["'"+cl.orderby+"'"]}}</td>
                                </tr>
                                <tr ng-if="replylist.length<=0">
                                    <td colspan="50" style="text-align:center">暂无数据</td>
                                </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>
                    <pagination data-pageindex="selectparams.pageindex" data-pagesize="selectparams.pagesize"
                                data-ptotal="pageInfo.ptotal"></pagination>
                </div>
            </div>
            <bsfiles ng-model="reqFileModel2"/>
            <div class="form_foot">
                <button type="button" class="btn btn-default" ng-click="pagechange();">关闭</button>
            </div>
        </form>
    </div>
</div>
